package cn.btks.resultintegration.rule.service.impl;

import cn.btks.resultintegration.rule.pojo.IndustrialStructureCategory;
import cn.btks.resultintegration.rule.repository.IndustrialStructureCategoryRepository;
import cn.btks.resultintegration.rule.service.IndustrialStructureCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/2/19 10:48
 */
@Service
public class IndustrialStructureCategoryServiceImpl implements IndustrialStructureCategoryService {

    @Autowired
    IndustrialStructureCategoryRepository industrialStructureCategoryRepository;

    @Override
    public List<IndustrialStructureCategory> findAllIndustrialStructureCategory() {
        return industrialStructureCategoryRepository.findAll();
    }
}
